package com.wantup.dubbo.mock;

import com.wantup.dubbo.service.ServiceApi;

import java.util.List;

/**
 * @ClassName MyMock
 * @Description TODO
 * @Author zhaoluowei
 * @Date 2019/9/22  20:47
 * @Version 1.0
 */

public class MyMock implements ServiceApi {
    @Override
    public String sendMsg(String message) {
        System.out.println("sendMsg Mock");
        return "抱歉，订单人数过多，请稍后重试";
    }

    @Override
    public String sendMsg02(String message) {
        System.out.println("sendMsg02 Mock");
        return "抱歉，订单人数过多，请稍后重试";
    }

    @Override
    public List<String> mergerMsg(String message) {
        return null;
    }
}
